package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.LeafWorkerId;

import java.util.List;
import java.util.Map;

/**
 * @description: TODO
 * @Author: Zhuzhi
 * @Date: 2020/12/12 下午11:47
 */
public interface LeafWorkerIdMapper {
    /**
     * 查询WorkerId
     *
     * @param param 参数
     * @return
     */
    public List<LeafWorkerId> selectLeafWorkerIdList(Map<String, String> param);

    /**
     * 新增Token
     *
     * @param leafWorkerId 参数
     * @return
     */
    public int insertLeafWorkerId(LeafWorkerId leafWorkerId);

    /**
     * 删除Token
     *
     * @param id 参数
     * @return
     */
    public int deleteLeafWorkerById(long id);

    /**
     * 新增Token
     *
     * @param param 参数
     * @return
     */
    public LeafWorkerId selectLeafWorkerId(Map<String, Object> param);

}
